home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
cuj1008.zip
/
CMENU14.ZIP
/
MAKEFILE.DOS
< prev
next >
Wrap
Text File
|
1992-01-30
|
2KB
|
55 lines
#
# Make file for CMENU Menu compiler system (DOS version)
# Developed under Borland C++, but written portably
#
#############################################################################
# Primary configuration section
#############################################################################
CC = bcc # command-line compiler name
# uncomment only 1 in each of following 3 pairs:
DEBUG = -v # enable embedded Turbo Debugger info
#DEBUG = # disable debugging
#BCCOPTS =
BCCOPTS = -w-pia -A -O1 -H # Borland-specific stuff
#NEEDSTR = -DNEEDSTR # compile own strstr() definition
NEEDSTR = # use library version of strstr()
#HEAPSIZ = -DHEAPSIZ=20000 # Set Near Heap size to conserve DOS memory
HEAPSIZ =
WILDLIB = wildargs.obj # links in wildcard expansion module
CULIBS = tscurses.lib # curses library
#############################################################################
# End of primary configuration section
#############################################################################
COPTS = $(BCCOPTS) -DDOS=1 $(DEBUG) $(NEEDSTR) $(HEAPSIZ)
CFILES = cmenu1.obj cmenu2.obj cmenu3.obj
RFILES = rmenu1.obj rmenu2.obj rmenu3.obj rmenu4.obj
all: cmenu.exe rmenu.exe dmenu.exe
.c.obj: # For non-Borland MAKE, you may need to
$(CC) -c $(COPTS) {$< } # substitute "$*.c" for "{$< }"
cmenu.exe: $(CFILES)
$(CC) $(DEBUG) -ecmenu $(CFILES) $(WILDLIB)
rmenu.exe: $(RFILES)
$(CC) $(DEBUG) -ermenu $(RFILES) $(CULIBS)
dmenu.exe: dmenu.c cmenu.h
$(CC) $(COPTS) -edmenu dmenu.c
$(CFILES): ccmenu.h cmenu.h makefile
$(RFILES): rcmenu.h cmenu.h makefile